import request from '@/utils/request'

// 项目费用
const api = {
  projectBill: '/boss/project/apply/list/projectCost',
  billDetail: '/boss/project/info/detail',
  recordExport: '/boss/finance/recordExport',
  cost: '/boss/project/apply/cost',
  listAdmin: '/common/listAdmin'
}

// 角色列表
export function getListAdmin (parameter) {
  return request({
    url: api.listAdmin,
    method: 'post',
    data: parameter

  })
}

// 项目账单列表
export function getRecordExport (parameter) {
  return request({
    url: api.recordExport,
    method: 'get',
    params: parameter
  })
}
